package cn.zwx.search.model.es;

import cn.zwx.search.annotation.Field;
import cn.zwx.search.common.enums.FieldType;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @description: 产品库存DTO
 * @projectName:search-example
 * @see:cn.zwx.search.model
 * @author:zhangwenxue
 * @createTime:2020/10/23 17:16
 * @version:1.0
 */
@Data
public class ESProductDetailDTO {

    /**
     * 商品产地
     */
    @Field(type = FieldType.KEYWORD)
    private String areaRegionName;

    /**
     * 商品折扣
     */
    @Field(type = FieldType.DOUBLE)
    private BigDecimal rate;



}
